import http from '../http'

export default {
	// 积分交易列表
	scoreList(data) {
		return http.get('/score/index', data,1)
	},
	//  积分交易发布
	scoreAdd(data) {
		return http.post('/score/add', data, 1)
	},
	//  买入积分
	scoreExchange(data) {
		return http.post('/score/exchange', data,1)
	},
	// 积分转入生息账户
	scoreDeposit(data) {
		return http.post('/score/deposit', data, 1)
	},
	// 生息转回积分账户
	scoreWithdraw(data) {
		return http.post('/score/withdraw', data)
	},
	//积分说明
	scoreDesc(data){
		return http.get('/score/trade_desc',data)
	}
}